home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
hity wydania
/
Ubuntu 9.10 PL
/
karmelkowy-koliberek-desktop-9.10-i386-PL.iso
/
casper
/
filesystem.squashfs
/
usr
/
bin
/
lxterm
< prev
next >
Wrap
Text File
|
2009-06-03
|
427b
|
31 lines
#!/bin/sh
# $Id$
PROGNAME=${0##*/}
die () {
echo "$PROGNAME: fatal error: $*" >&2
exit 1
}
if ! which locale >/dev/null 2>&1; then
die "required program \"locale\" not available"
fi
case "$(locale charmap 2>/dev/null)" in
KOI8-R)
XTERM=koi8rxterm
;;
UTF-8)
XTERM=uxterm
;;
*)
XTERM=xterm
;;
esac
exec "$XTERM" "$@"
# vim:set ai et sw=4 ts=4 tw=80: